import org.springframework.web.servlet.mvc.method.annotation.PathVariableMapMethodArgumentResolver;

/**
 * @author 司军强
 * @version 1.0.0
 * @date 2019/7/20 :21:12
 * @description
 **/


public class Demo1 {
    public static void main(String[] args) {
        System.out.println("小明出来玩了");
        //int age=16;
        int age=20;//20岁

        if(age>=18){
            System.out.println("小明去上网了");
        }else{
            System.out.println("小明回家了");
        }

       // System.out.println("小明回家了");

    }



}
